---
--类名: PlayActionEvent.lua
--创建日期: 2015-6-9
--创建人: 陈小虎
--功能描述: 动作播放事件
--修改内容：
--修改日期:   
--修改人:     
--修改备注: 
--

local Event = import(".Event")

local PlayActionEvent = class("PlayActionEvent",function()
    return Event.new()
end)

function PlayActionEvent:ctor(params)
	self:setEventName(params.event)

	self.mNpcId = params.npcId
	self.mAction = params.action
	self.mArmName = params.armName
    self.mNextImmediately = (params.immediately == 1) and true or false
    self.mDelayTime = params.delayTime or 0
    self.mPlayTimes = params.playTimes
    self.mShowDelayTime = params.showDelayTime or 0
    self.mOverKeep = (params.enter ~= 1) and true or false
end

return PlayActionEvent